package org.example.basic.day03;

public class Demo抽象类 {
    public static void main(String[] args) {
        AppleTree appleTree=new AppleTree();
        appleTree.show();
    }
}


abstract class  Tree {
    public abstract void show();
}

class AppleTree extends Tree {
    @Override
    public void show(){
        System.out.println("苹果树");
    }
}
